﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Common.Util;

namespace Common.Test.Util
{
    [TestClass]
    public class SpreadsheetTest
    {
        [TestMethod]
        public void TestEndcodeDecode()
        {
            //string xxx = "12345";
            //xxx.SaveVerifyRegister("D:\\");

            string a = "My name is HieuNK";
            var b = a.Encode("Common.Util");
            var c = b.Decode("Common.Util");
            Assert.AreNotEqual(a, b);
            Assert.AreNotEqual(string.Empty, b);
            Assert.AreEqual(a, c);
        }
    }
}
